package com.whm.hrmanagement.service;

import java.util.List;

import com.alibaba.fastjson2.JSONObject;
import com.whm.common.core.domain.entity.SysUser;
import com.whm.hrmanagement.domain.OaZrsglryda;
import com.whm.hrmanagement.domain.dto.CommonDto;
import com.whm.hrmanagement.domain.dto.UserSelectListDto;

/**
 * hrmanagementService接口
 * 
 * @author whm
 * @date 2024-01-30
 */
public interface IOaZrsglrydaService 
{
    /**
     * 查询hrmanagement
     * 
     * @param id hrmanagement主键
     * @return hrmanagement
     */
    public OaZrsglryda selectOaZrsglrydaById(Long id);

    /**
     * 查询hrmanagement列表
     * 
     * @param oaZrsglryda hrmanagement
     * @return hrmanagement集合
     */
    public List<OaZrsglryda> selectOaZrsglrydaList(OaZrsglryda oaZrsglryda);
    public List<OaZrsglryda> selectOaZrsglrydaList2(OaZrsglryda oaZrsglryda);

    /**
     * 新增hrmanagement
     * 
     * @param oaZrsglryda hrmanagement
     * @return 结果
     */
    public int insertOaZrsglryda(JSONObject data);

    /**
     * 修改hrmanagement
     * 
     * @param oaZrsglryda hrmanagement
     * @return 结果
     */
    public int updateOaZrsglryda(JSONObject data);

    /**
     * 批量删除hrmanagement
     * 
     * @param ids 需要删除的hrmanagement主键集合
     * @return 结果
     */
    public int deleteOaZrsglrydaByIds(Long[] ids);

    /**
     * 删除hrmanagement信息
     * 
     * @param id hrmanagement主键
     * @return 结果
     */
    public int deleteOaZrsglrydaById(Long id);

    /**
     * 批量获取
     *
     * @param userIds 需要删除的用户ID
     * @return 结果
     */
    public List<UserSelectListDto> getUserSelect( );


    public boolean checkNickNameUnique(OaZrsglryda oaZrsglryda);
}
